module.exports = [
    {
        url: '/vue-element-admin/article/list',
        type: "get",
        response: {
            code: 20000,
            data: {
                total: 100,
                list: Array(10).fill({}).map((item, index) => ({
                    id: index + 1,
                    author: '@first',
                    reviewer: '@first',
                    title: '@title(5, 10)',
                    content_short: '我是测试数据',
                    content: '@cparagraph',
                    forecast: '@float(0, 100, 2, 2)',
                    importance: '@integer(1, 3)',
                    'type|1': ['CN', 'US', 'JP', 'EU'],
                    'status|1': ['published', 'draft', 'deleted'],
                    display_time: '@datetime',
                    comment_disabled: true,
                    pageviews: '@integer(300, 5000)',
                    platforms: ['a-platform']
                }))
            }
        }

    },
    {
        url: '/vue-element-admin/article/detail',
        type: "get",
        response: {
            code: 20000,
            data: {
                id: '@integer(1, 100)',
                author: '@first',
                reviewer: '@first',
                title: '@title(5, 10)',
                content_short: '我是测试数据',
                content: '@cparagraph',
                forecast: '@float(0, 100, 2, 2)',
                importance: '@integer(1, 3)',
                'type|1': ['CN', 'US', 'JP', 'EU'],
                'status|1': ['published', 'draft', 'deleted'],
                display_time: '@datetime',
                comment_disabled: true,
                pageviews: '@integer(300, 5000)',
                platforms: ['a-platform']
            }
        }

    }

]
